<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="zh" xmlns="http://www.w3.org/1999/xhtml" dir="ltr"
	xml:lang="zh">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>安排一个活动</title>
	<link href="/Content/style/vote_create.css" type="text/css" rel="stylesheet" />
	<style type="text/css">

	</style>
</head>
<body onload="ols();">
	<div id="content">
		<h1>
			<span>安排一个活动:基本信息</span>
		</h1>
		<form enctype="application/x-www-form-urlencoded"	action="vote.php?action=options" method="post" name="createPoll" id="createPoll">
		<div>
			<div class="formPanel">
			<label class="title" for="title"> 标题: </label>
			<input type="text" tabindex="1" size="46" maxlength="100" class="inputText" value=""
				name="title" id="title" />
			<div class="spacer"></div>
			<label for="message"> 描述 (可选项): </label>
			<span 	style="color: red;" id="counter"></span> 
			<textarea tabindex="2" rows="10" onkeyup="document.getElementById('counter').innerHTML=(512-utf8Length(this.value));"
				onfocus="document.getElementById('counter').innerHTML=(512-utf8Length(this.value));"
				onblur="document.getElementById('counter').innerHTML='';" cols="44"
				class="inputText" name="message" id="message" value=""></textarea>
			<div class="spacer"></div>
			<label class="yourName" for="name"> 您的姓名: </label>
			<input type="text" tabindex="5" size="46" maxlength="50" class="inputText"	value="" name="name" id="name" />
			<div class="spacer"></div>
			</div>
		</div>
		<div id="formButtons">
			<input type="submit"  tabindex="12" value="提交" name="submit" id="submit" />
		</div>
		</form>
	</div>
	
	<script type="text/javascript">
		function ols() {
			document.forms["createPoll"]["createPoll:title"].focus();
		}
	</script>
	<script src="/Content/scripts/utf8Length.js" type="text/javascript"></script>
</body>
</html>